package com.cdtu.store.user.api;

import com.cdtu.store.common.entity.UserEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserApi {

    @GetMapping("query")
    public UserEntity queryUser(
            @RequestParam("username") String username,
            @RequestParam("password") String password);
}
